// 导入axios实例对象request
import request from '@/util/request.js'

// 创建switchChangeAPI接口并抛出共享
export const switchChangeAPI = (uid, state) => {
  return request.put(`users/${uid}/state/${state}`)
}
